package com.iot.fire.common.enums;

import lombok.Getter;

/**
 * @PackageName: com.ruoyi.common.enums
 * @ClassName: RequestMapper
 * @Description:
 * @Author: czl
 * @Date: 2025/10/30 22:21
 */
@Getter
public enum RequestMapper {

    PROVINCE_LIST("1", "/v2/region/province_list", "区域字典查询"),
    CHILDREN_LIST("2", "/v2/region/children_list", "需要传区域id"),
    SUPERVISE_LEVEL("3", "/v2/common/supervise_level/list", "获取单位监管等级接口"),
    UNIT_TYPE("4", "/v2/common/unit_type/list", "获取单位类型接口"),
    UNIT_TAG("5", "/v2/common/unit_tag/list", "获取单位标签接口"),
    INDUSTRY("6", "/v2/common/industry/list", "获取行业类别接口"),
    ECONOMIC_TYPE("7", "/v2/common/economic_type/list", "获取单位经济类型"),
    MAINTENANCE_UNIT("8", "/v2/common/maintenance_unit/list", "获取单位维保接口"),
    INDUSTRY_BELONG("9", "/v2/common/industry_belong/list", "获取单位所属行业分类接口"),
    BUILDING_FIRE_HAZARD("10", "/v2/common/building_fire_hazard/list", "获取建筑物火灾危险性接口"),
    BUILDING_RESISTANT("11", "/v2/common/building_resistant/list", "获取建筑物耐火等级接口"),
    BUILDING_STRUCTURE("12", "/v2/common/building_structure/list", "获取建筑物结构类型接口"),
    BUILDING_TYPE("13", "/v2/common/building_type/list", "获取建筑物类型接口"),
    BUILDING_USE_WAY("14", "/v2/common/building_use_way/list", "获取建筑物使用性质接口"),
    DEVICE_DATA_TYPE("15", "/v2/common/device_data_type/list", "获取数据类型接口"),
    DEVICE_TYPE("16", "/v2/common/device_type/list", "获取设备类型接口"),
    NEW_NETWORKING_UNITS("17", "/v2/unit/add", "新建联网单位信息"),
    MODIFY_THE_NETWORKING_UNIT("18", "/v2/unit/update", "修改联网单位信息"),
    DELETE_THE_NETWORKING_UNIT("19", "/v2/unit/delete", "删除联网单位接口"),
    ADD_BUILDING("20", "/v2/building/add", "添加建筑物接口"),
    UPDATE_BUILDING("20", "/v2/building/update", "修改建筑物接口"),
    GET_SUPERVISOR_UNIT("21", "/v2/common/supervise_org/query_by_region", "获取主管单位接口"),
    ADD_FLOOR("22", "/v2/floor/add", "添加楼层信息"),
    UPDATE_FLOOR("23", "/v2/floor/update", "修改楼层信息"),
    ADD_DEVICE("24", "/v2/device/add", "添加设备接口"),
    UPDATE_DEVICE("25", "/v2/device/update", "修改设备接口"),
    DYNAMIC_DATA_UPLOAD("26", "/v2/data/upload", "上传动态数据"),
    DEVICE_DELETE("27", "/v2/device/delete", "删除设备接口"),
    FLOOR_DELETE("28", "/v2/floor/delete", "删除楼层接口"),
    BUILDING_DELETE("29", "/v2/building/delete", "删除建筑物接口"),
    UNIT_DELETE("30", "/v2/unit/delete", "删除联网单位接口");

    private final String code;
    private final String mapping;
    private final String msg;

    RequestMapper(String code, String mapping, String msg) {
        this.code = code;
        this.mapping = mapping;
        this.msg = msg;
    }
}
